@extends('admin.layout.flash')
@section('content')
    <link rel="stylesheet" href="{{asset('css/user/account_pop-up.css')}}">
    <style>

    </style>
    <div class="pop_box">
        <form method="post">
            {{csrf_field()}}
            <p>
                <select name="phone_quality">
                    <option value="">电话素质</option>
                    <option value="1">非常好</option>
                    <option value="2">比较好</option>
                    <option value="3">一般</option>
                    <option value="4">比较一般</option>
                    <option value="5">差</option>
                </select>
                <select name="request">
                    <option value="">主诉要求</option>
                    <option value="1">推广</option>
                    <option value="2">赚钱</option>
                </select>
                <select name="computer_capacity">
                    <option value="">计算机能力</option>
                    <option value="1">PC高手</option>
                    <option value="2">Mac高手</option>
                    <option value="3">PC一般</option>
                    <option value="4">Mac一般</option>
                    <option value="5">PC初级</option>
                    <option value="6">Mac初级</option>
                    <option value="7">不会用</option>
                </select>
            </p>
            <textarea name="remark" cols="30" rows="10"></textarea>
            <p>
                <label for="">签约人身份证号：</label>
                <input type="text" value="" name="card" required>
                <select name="sign_type" required>
                    <option value="">签约方式</option>
                    <option value="1">全球独家</option>
                    <option value="2">海外（不包含港澳台）独家</option>
                    <option value="3">欧洲独家</option>
                    <option value="4">亚洲独家</option>
                    <option value="5">美洲独家</option>
                    <option value="6">非洲独家</option>
                </select>
                <select name="sign_time" style="margin:10px;" required>
                    <option value="">签约期限</option>
                    <option value="3">3年自动续约</option>
                    <option value="2">2年自动续约</option>
                    <option value="1">1年自动续约</option>
                    <option value="4">自由艺人</option>
                </select>
                <input type="hidden" name="id" value="{{$id}}"/>
                <button type="submit" class="submit" value="确定" onclick="confirm " style="float:right;margin-top: 9px">
                    确定
                </button>
            </p>
        </form>
        <form method="post">
            {{csrf_field()}}
            <input type="hidden" name="id" value="{{$id}}"/>
            未通过理由：<input type="text" name="remark" style="width:240px" required/>
            <button type="submit" value="不予通过" class="submit" name="nopass">不予通过</button>
        </form>
    </div>
    <script type="text/javascript" src="{{asset('/common/js/jquery.min.js')}}"></script>
    <script src="{{asset('/common/js/validation/jquery.validate.min.js')}}"></script>
    <script src="{{asset('/common/js/validation/localization/messages_zh.min.js')}}"></script>
    <script>
      //验证是否予以通过
      // function refuseVali(dom) {
      //     let val = $(dom).val();
      //     if (!val) {
      //         $('#notThrough').attr('type', 'button');
      //         $('span').toggle();
      //     }else{
      //         $('#notThrough').attr('type', 'submit');
      //         $('span').toggle();
      //     }
      // }
      //
      // function throughVali(dom) {
      //     let val = $('#through').val();
      //     if (!val) {
      //         $('span').toggle();
      //     }else{
      //         $('#notThrough').attr('type', 'submit');
      //     }
      // }
      // $(function(){
      //     $('#notThrough').click(function(){
      //         if(!$('#through').val()){
      //             $('span').toggle()
      //         }
      //     });
      // });
    </script>
@endsection

